﻿using ModelContextProtocol.Server;
using System.ComponentModel;

namespace MCPTool.Tools
{
    [McpServerToolType]
    public class CalcTool
    {
        [McpServerTool(Name = "add"), Description("计算两数之和")]
        public int Add(int a, int b)
        {
            return a + b;
        }
    }
}
